package com.ruoyi.project.hcy.product.service;

import com.ruoyi.project.hcy.product.domain.product.Product;
import com.ruoyi.project.hcy.product.domain.product.ProductNameVo;
import com.ruoyi.project.hcy.product.domain.product.ProductVo;

import java.util.List;

/**
 * @ClassName IProductService
 * @Author SAI
 * @Date 2020/9/18 16:05
 * @Description IProductService
 * @Version 1.0
 */
public interface IProductService {
    List<ProductVo> selectProductList(Product product);

    String checkProductNameUnique(Product product);

    int insertProduct(Product product);

    Product selectProductById(Long productId);

    int updateProduct(Product product);

    int deleteProductByIds(String ids);

    List<ProductVo> selectFavoritesProductList(Product product);

    ProductNameVo selectProductNameById(Long productId);

    List<ProductVo> selectShowList(Product product);

    int changeStatus(String ids);
}
